package eureka.domain.account;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 
 * @author jinyi
 *
 */
public class PasswordRestoration implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private long prID;
	private long uID;
	private String Token;
	private Timestamp DeliverDate;
	private Timestamp ExpireDate;
	
	public long getPrID() {
		return prID;
	}
	public void setPrID(long prID) {
		this.prID = prID;
	}
	
	public long getUID() {
		return uID;
	}
	public void setUID(long uID) {
		this.uID = uID;
	}
	
	public String getToken() {
		return Token;
	}
	public void setToken(String Token) {
		this.Token = Token;
	}
	
	public Timestamp getDeliverDate() {
		return DeliverDate;
	}
	public void setDeliverDate(Timestamp DeliverDate) {
		this.DeliverDate = DeliverDate;
	}
	
	public Timestamp getExpireDate() {
		return ExpireDate;
	}
	public void setExpireDate(Timestamp ExpireDate) {
		this.ExpireDate = ExpireDate;
	}
	
	public static PasswordRestoration getDefaultEmpty() {
		PasswordRestoration pr = new PasswordRestoration();
		pr.prID = 0;
		pr.uID = 0;
		pr.Token = "";
		pr.DeliverDate = null;
		pr.ExpireDate = null;
		return pr;
	}
	
	public PasswordRestoration() {
		super();
	}
}
